package threaddemo;

public class MyRunable implements Runnable{
	private int c=0;
	
	@Override
	public void run() {
		while(c<5){
		c++;
	System.out.println(Thread.currentThread().getName()+" "+c);	
		}
	}
}
